package de.smarthome.szenario;

public class ScenarioData {

	private int id;
	private String room;
	private String scenarioName;
	private int light;
	private int color;
	private int curtain;
	private int blind;
	private int window;
	private int heater;

	public ScenarioData() {
	};

	
	public String getLightStatus(){
		if(getLight()==0){
			return "off";
		}
		return "on";
	}
	
	public String getCurtainStatus(){
		if(getCurtain()==0){
			return "closed";
		}
		return "open";
	}
	
	public String getBlindStatus(){
		if(getBlind()==0){
			return "closed";
		}
		return "open";
	}
	
	
	public String getHeaterStatus(){
		if(getHeater()==0){
			return "off";
		}
		return "on";
	}
	
	public String getWindowStatus(){
		if(getWindow()==0){
			return "closed";
		}
		return "open";
	}
	

	public void setRoom(String room) {
		this.room = room;
	}

	public String getScenarioName() {
		return scenarioName;
	}

	public void setScenarioName(String scenarioName) {
		this.scenarioName = scenarioName;
	}

	public int getHeater() {
		return heater;
	}

	public void setHeater(int heater) {
		this.heater = heater;
	}

	public ScenarioData(String room) {
		this.room = room;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getWindow() {
		return window;
	}

	public void setWindow(int window) {
		this.window = window;
	}

	public String getRoomName() {
		return room;
	}

	public int getLight() {
		return light;
	}

	public int getColor() {
		return color;
	}

	public int getCurtain() {
		return curtain;
	}

	public void setRoomName(String room) {
		this.room = room;
	}

	public void setLight(int light) {
		this.light = light;
	}

	public void setColor(int color) {
		this.color = color;
	}

	public void setCurtain(int curtain) {
		this.curtain = curtain;
	}

	public void setBlind(int blind) {
		this.blind = blind;
	}

	public int getBlind() {
		return blind;
	}
	
	

}
